<!DOCTYPE HTML>
<html lang="UTF8">
<head>
<meta charset="UTF-8">
<title></title>
<script type="text/javascript" src="/static/add-on/jquery/jquery-2.0.0.min.js"></script>
<script type="text/javascript">


function getCookie(cookieName) {
  var cookieString = document.cookie;
  var start = cookieString.indexOf(cookieName + '=');
  // 加上等号的原因是避免在某些 Cookie 的值里有
  // 与 cookieName 一样的字符串。
  if (start == -1) // 找不到
    return null;
  start += cookieName.length + 1;
  var end = cookieString.indexOf(';', start);
  if (end == -1) return unescape(cookieString.substring(start));
  return unescape(cookieString.substring(start, end));
}

</script>
</head>
<body>
<script type="text/javascript">
with (document) {
    write("<article id='jkcontent'>");
    write("<header>brower info=====</header>");
    write("<section>");
    write("<ul>navigator.appCodeName = " + navigator.appCodeName + "</ul>");
    write("<ul>navigator.appName = " + navigator.appName + "</ul>");
    write("<ul>navigator.appVersion = " + navigator.appVersion + "</ul>");
    write("<ul>navigator.language = " + navigator.language + "</ul>");
    write("<ul>navigator.platform = " + navigator.platform + "</ul>");
    write("<ul>navigator.userAgent = " + navigator.userAgent + "</ul>");
    write("<ul>navigator.plugins = " + navigator.plugins + "</ul>");
    write("<ul>navigator.javaEnabled = " + navigator.javaEnabled() + "</ul>");
    
    write("<ol>screen info======</ol>");
    write("<ul>screen.width = " + screen.width + "</ul>");
    write("<ul>screen.hegiht = " + screen.height + "</ul>");
    write("<ul>screen.availWidth = " + screen.availWidth + "</ul>");
    write("<ul>screen.availHeight = " + screen.availHeight + "</ul>");
    write("<ul>colorDepth = " + screen.colorDepth + "(- 1：黑白；8：256色；16：增强色；24/32：真彩色)</ul>");
    write("</section>");
    write("</article>");
}
document.title = "Get Browseinfo";
</script>
</body>
</html>

